package com.cjj.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("comment_like")
@Accessors(chain = true)
public class CommentLike implements Serializable {
    private static final long serialVersionUID = 1L;
    
    @TableId(value = "like_id", type = IdType.AUTO)
    private Long likeId;
    
    @TableField("comment_id")
    private Long commentId;
    
    @TableField("user_id")
    private Long userId;
    
    @TableField("create_time")
    private LocalDateTime createTime;
}